new Vue({
    el: '#app',
    data() {
        return {
            tableData: [],
            lock: 1,
            tableData1: [],
            Group_Seek_Transaction_SerialNumber:'',
            Data: [],
        }
    },
   
    mounted() {
        // this.LogGet()
        const detailString = localStorage.getItem('detail');
        this.Group_Seek_Transaction_SerialNumber=JSON.parse( detailString).Group_Seek_Transaction_SerialNumber
        console.log(this.Group_Seek_Transaction_SerialNumber)
        // console.log('detail',detailString)
        if (detailString) {
            const detailObject = JSON.parse(detailString);
            this.tableData.push(detailObject);
        }
        console.log('本地获取', this.tableData)
        this.getLogistics()
        let data = {
            Group_Seek_Transaction_SerialNumber: this.Group_Seek_Transaction_SerialNumber,
        };
        this.getDetail(data)
    },
    methods: {
         // 物流信息
         getLogistics(){
            let _this = this;
            $.ajax({
              url: DomainName +'/getInquiryIDOriginal?token=' +$.cookie('token'),
              type: 'POST',
              data: {
                Data:"group_seek_transaction_logistics",
                Primary_Key_Name: "Group_Seek_Transaction_SerialNumber",
				Primary_Key:_this.Group_Seek_Transaction_SerialNumber,
				isNullEnterprise: true,
            },
              success: function (res) {
                console.log('物流信息',res)
                _this.tableData1 = res;
              }
            })
        },
          //我的采购支付阶段详情
          getDetail(data){
            let _this = this;
            $.ajax({
              url: DomainName +'/SeekTransactionPaystagesID?token='+$.cookie('token'),
              type: 'POST',
              data,
              success: function (res) {
                console.log('支付阶段信息',res)
                _this.Data = res.Data;
              }
            })
        }
    },
})

